import request from '@/utils/request'

// 查询标签列表
export function listTag(query) {
  return request({
    url: '/qywx/taglist',
    method: 'get',
    params: query
  })
}

// 查询企业微信标签下的用户
export function listTagUser(query) {
  return request({
    url: '/qywx/tag/users/'+query.tagid,
    method: 'get',
    params: query
  })
}
